var ACTION = require("../../base/action");
var utils = require("../../utils/utils");
var ocrGml = require("../../utils/ocrGml");
var actionRead = new ACTION("阅读");
var common = require("./common");
actionRead.startRead = function () {
  var baseSpan = 40;
  var span = utils.getRandom(baseSpan, baseSpan + 5);
  console.log("开始看文章-" + span + "-s");
  this.readArticle(span);
};

actionRead.readArticle = function (span) {
  common.readArticle(span, 5);
};

actionRead.exec = function () {
  this.startRead();
};

module.exports = actionRead;
